
/**
 *
 */
package com.serviceprovider.business.module.admin.transaction.valueobjects;

//~--- non-JDK imports --------------------------------------------------------

import com.serviceprovider.business.module.sp.transaction.model.Transaction;

//~--- JDK imports ------------------------------------------------------------

import java.io.Serializable;

/**
 * The Class TransactionCSV is used to represent the csv data format of the.
 *
 * {@link Transaction}.
 *
 * @author mrduongnv@gmail.com
 */
public class TransactionCSV implements Serializable {

    /** The Constant serialVersionUID. */
    private static final long serialVersionUID = -5643954969134290628L;

    /** The has error. */
    private boolean hasError = false;

    /** The processed. */
    private boolean processed = false;

    /** The account alias. */
    private String accountAlias;

    /** The credit. */
    private String credit;

    /** The debit. */
    private String debit;

    /** The effective entry date. */
    private String effectiveEntryDate;

    /** The error fields. */
    private String errorFields;

    /** The file id. */
    private Integer fileId;

    /** The id. */
    private String id;

    /** The identification number. */
    private String identificationNumber;

    /** The orginator code. */
    private String originatorCode;

    /** The originator name. */
    private String originatorName;

    /** The posting date. */
    private String postingDate;

    /** The receiver account. */
    private String receiverAccount;

    /** The receiver name. */
    private String receiverName;

    /** The ssn. */
    private String ssn;

    /** The standard entry class code. */
    private String standardEntryClassCode;

    /** The trace number. */
    private String traceNumber;

    /** The transaction type. */
    private String transType;

    /**
     * Gets the id.
     *
     * @return the id
     */
    public String getId() {
        return this.id;
    }

    /**
     * Sets the id.
     *
     * @param id
     *            the id to set
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * Gets the receiver account.
     *
     * @return the receiverAccount
     */
    public String getReceiverAccount() {
        return this.receiverAccount;
    }

    /**
     * Sets the receiver account.
     *
     * @param receiverAccount
     *            the receiverAccount to set
     */
    public void setReceiverAccount(String receiverAccount) {
        this.receiverAccount = receiverAccount;
    }

    /**
     * Gets the account alias.
     *
     * @return the accountAlias
     */
    public String getAccountAlias() {
        return this.accountAlias;
    }

    /**
     * Sets the account alias.
     *
     * @param accountAlias
     *            the accountAlias to set
     */
    public void setAccountAlias(String accountAlias) {
        this.accountAlias = accountAlias;
    }

    /**
     * Gets the posting date.
     *
     * @return the postingDate
     */
    public String getPostingDate() {
        return this.postingDate;
    }

    /**
     * Sets the posting date.
     *
     * @param postingDate
     *            the postingDate to set
     */
    public void setPostingDate(String postingDate) {
        this.postingDate = postingDate;
    }

    /**
     * Gets the effective entry date.
     *
     * @return the effectiveEntryDate
     */
    public String getEffectiveEntryDate() {
        return this.effectiveEntryDate;
    }

    /**
     * Sets the effective entry date.
     *
     * @param effectiveEntryDate
     *            the effectiveEntryDate to set
     */
    public void setEffectiveEntryDate(String effectiveEntryDate) {
        this.effectiveEntryDate = effectiveEntryDate;
    }

    /**
     * Gets the receiver name.
     *
     * @return the receiverName
     */
    public String getReceiverName() {
        return this.receiverName;
    }

    /**
     * Sets the receiver name.
     *
     * @param receiverName
     *            the receiverName to set
     */
    public void setReceiverName(String receiverName) {
        this.receiverName = receiverName;
    }

    /**
     * Gets the originator name.
     *
     * @return the originatorName
     */
    public String getOriginatorName() {
        return this.originatorName;
    }

    /**
     * Sets the originator name.
     *
     * @param originatorName
     *            the originatorName to set
     */
    public void setOriginatorName(String originatorName) {
        this.originatorName = originatorName;
    }

    /**
     * Gets the identification number.
     *
     * @return the identificationNumber
     */
    public String getIdentificationNumber() {
        return this.identificationNumber;
    }

    /**
     * Sets the identification number.
     *
     * @param identificationNumber
     *            the identificationNumber to set
     */
    public void setIdentificationNumber(String identificationNumber) {
        this.identificationNumber = identificationNumber;
    }

    /**
     * Gets the debit.
     *
     * @return the debit
     */
    public String getDebit() {
        return this.debit;
    }

    /**
     * Sets the debit.
     *
     * @param debit
     *            the debit to set
     */
    public void setDebit(String debit) {
        this.debit = debit;
    }

    /**
     * Gets the credit.
     *
     * @return the credit
     */
    public String getCredit() {
        return this.credit;
    }

    /**
     * Sets the credit.
     *
     * @param credit
     *            the credit to set
     */
    public void setCredit(String credit) {
        this.credit = credit;
    }

    /**
     * Gets the trace number.
     *
     * @return the traceNumber
     */
    public String getTraceNumber() {
        return this.traceNumber;
    }

    /**
     * Sets the trace number.
     *
     * @param traceNumber
     *            the traceNumber to set
     */
    public void setTraceNumber(String traceNumber) {
        this.traceNumber = traceNumber;
    }

    /**
     * Gets the transaction type.
     *
     * @return the transType
     */
    public String getTransType() {
        return this.transType;
    }

    /**
     * Sets the transaction type.
     *
     * @param transType
     *            the transType to set
     */
    public void setTransType(String transType) {
        this.transType = transType;
    }

    /**
     * Gets the standard entry class code.
     *
     * @return the standardEntryClassCode
     */
    public String getStandardEntryClassCode() {
        return this.standardEntryClassCode;
    }

    /**
     * Sets the standard entry class code.
     *
     * @param standardEntryClassCode
     *            the standardEntryClassCode to set
     */
    public void setStandardEntryClassCode(String standardEntryClassCode) {
        this.standardEntryClassCode = standardEntryClassCode;
    }

    /**
     * Gets the ssn.
     *
     * @return the ssn
     */
    public String getSsn() {
        return this.ssn;
    }

    /**
     * Sets the ssn.
     *
     * @param ssn
     *            the ssn to set
     */
    public void setSsn(String ssn) {
        this.ssn = ssn;
    }

    /**
     * Gets the originator code.
     *
     * @return the originatorCode
     */
    public String getOriginatorCode() {
        return this.originatorCode;
    }

    /**
     * Sets the originator code.
     *
     * @param originatorCode
     *            the originatorCode to set
     */
    public void setOriginatorCode(String originatorCode) {
        this.originatorCode = originatorCode;
    }

    /**
     * Gets the error fields.
     *
     * @return the errorFields
     */
    public String getErrorFields() {
        return this.errorFields;
    }

    /**
     * Sets the error fields.
     *
     * @param errorFields
     *            the errorFields to set
     */
    public void setErrorFields(String errorFields) {
        this.errorFields = errorFields;
    }

    /**
     * Checks if is checks for error.
     *
     * @return the hasError
     */
    public boolean isHasError() {
        return this.hasError;
    }

    /**
     * Sets the checks for error.
     *
     * @param hasError
     *            the hasError to set
     */
    public void setHasError(boolean hasError) {
        this.hasError = hasError;
    }

    /**
     * Checks if is processed.
     *
     * @return the processed
     */
    public boolean isProcessed() {
        return this.processed;
    }

    /**
     * Sets the processed.
     *
     * @param processed
     *            the processed to set
     */
    public void setProcessed(boolean processed) {
        this.processed = processed;
    }

    /**
     * Gets the file id.
     *
     * @return the fileId
     */
    public Integer getFileId() {
        return this.fileId;
    }

    /**
     * Sets the file id.
     *
     * @param fileId
     *            the fileId to set
     */
    public void setFileId(Integer fileId) {
        this.fileId = fileId;
    }
}



